#include <iostream>
#include <string>
#include <clocale>
#include <string>
#include <sstream>
#include "Media.h"
#include "Mediaregister.h"

using namespace std;


int main()
{
	setlocale(LC_ALL,"swedish");

	Media sak1;
	Media sak2("Bok", "Lel", "Gab", "komedi", 1999);
	/*sak2.WriteToConsole();

	sak1.ReadFromConsole();

	sak1.WriteToConsole();*/

	mv r;
	Mediaregister o(&r);
	Mediaregister mr;

	while ( ! o.Quit() )
	{
		cout << o;
		cin >> o;
	}

	cin.get();
	cin.get();

	return 0;
}